<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Comments extends CI_Controller {

	var $data;

	public function __construct(){
		parent::__construct();

	public function index(){

		$this->data['page']  = 'comments';
		$this->data['title'] = 'Comments';
		$this->data['comments'] = $this->m_comments->getAll(); 
		$this->load->view('backend/dashboard', $this->data);

	}
}